package com.example.fanday.play.di.component;

import android.content.Context;

import com.example.fanday.play.cons.Dagger2Cons;
import com.example.fanday.play.di.module.ApplicationMudule;
import com.example.fanday.play.di.scope.ContextLife;
import com.example.fanday.play.di.scope.PerApp;

import dagger.Component;

/**
 * Created by fanday on 2017/8/12.
 */

@PerApp
@Component(modules = ApplicationMudule.class)
public interface ApplicationComponent {
    @ContextLife(Dagger2Cons.APPLICATION)
    Context getApplication();
}
